<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>SideBar</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="../assets/css/logo.png" title=""></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: </em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/Accordion.html">Accordion</a></li>
            
                <li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
            
                <li><a href="../classes/Button.html">Button</a></li>
            
                <li><a href="../classes/Carousel.html">Carousel</a></li>
            
                <li><a href="../classes/ColorPicker.html">ColorPicker</a></li>
            
                <li><a href="../classes/Combobox.html">Combobox</a></li>
            
                <li><a href="../classes/DateTimePicker.html">DateTimePicker</a></li>
            
                <li><a href="../classes/Grid.html">Grid</a></li>
            
                <li><a href="../classes/ListView.html">ListView</a></li>
            
                <li><a href="../classes/Popover.html">Popover</a></li>
            
                <li><a href="../classes/ProgressBar.html">ProgressBar</a></li>
            
                <li><a href="../classes/RichTextEditor.html">RichTextEditor</a></li>
            
                <li><a href="../classes/ScrollSpy.html">ScrollSpy</a></li>
            
                <li><a href="../classes/Select.html">Select</a></li>
            
                <li><a href="../classes/SideBar.html">SideBar</a></li>
            
                <li><a href="../classes/Slider.html">Slider</a></li>
            
                <li><a href="../classes/Spinner.html">Spinner</a></li>
            
                <li><a href="../classes/Tab.html">Tab</a></li>
            
                <li><a href="../classes/ToolBar.html">ToolBar</a></li>
            
                <li><a href="../classes/Tooltip.html">Tooltip</a></li>
            
                <li><a href="../classes/Tree.html">Tree</a></li>
            
                <li><a href="../classes/Wizard.html">Wizard</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>SideBar Class</h1>
<div class="box meta">
    

    

    
        <div class="foundat">
            Defined in: <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_SideBar.js.html#l8"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_SideBar.js:8</code></a>
        </div>
    

    

    
</div>



<div class="box intro">
    <p>左则菜单组件，只限于两级菜单，另一版的Accordion，暂不支持数据驱动</p>

</div>


    <div class="constructor">
        <h2>Constructor</h2>
        <div id="method_SideBar" class="method item">
    <h3 class="name"><code>SideBar</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_SideBar.js.html#l8"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_SideBar.js:8</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    

    

    
        <div class="example">
            <h4>Example:</h4>

            <div class="example-content">
                <pre class="code prettyprint"><code>&lt;div class=&quot;sidebar&quot;&gt;
 &lt;ul data-role=&quot;nav&quot;&gt;
        &lt;li class=&quot;has_sub&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon-edit&quot;&gt;&lt;/i&gt;基础组件&lt;span class=&quot;pull-right&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot;&gt;&lt;/i&gt;&lt;/span&gt;&lt;/a&gt; 
         &lt;ul&gt;
               &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;pages/accordion/basic.html&quot;&gt;手风琴&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;checkBox.html&quot;&gt;复选框&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;pages/dropdown/basic.html&quot;&gt;下拉菜单&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;radio.html&quot;&gt;单选框&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt; 
       &lt;/li&gt;
        &lt;li class=&quot;has_sub&quot;&gt;&lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon-list-alt&quot;&gt;&lt;/i&gt;组合框 &lt;span class=&quot;pull-right&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot;&gt;&lt;/i&gt;&lt;/span&gt;&lt;/a&gt;
         &lt;ul&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;基本功能&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;多选支持&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;异步加载&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;下拉表格&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt; 
          &lt;/li&gt;
          &lt;li class=&quot;has_sub&quot;&gt;&lt;a href=&quot;#&quot;&gt; &lt;i class=&quot;icon-list-alt&quot;&gt;&lt;/i&gt;树形组件 &lt;span class=&quot;pull-right&quot;&gt;&lt;i class=&quot;icon-chevron-right&quot;&gt;&lt;/i&gt;&lt;/span&gt;&lt;/a&gt;
         &lt;ul&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;基本功能&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;带复选框&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;异步加载&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;可拖拽节点&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;自定义节点图标&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;可编辑节点&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;节点事件&lt;/a&gt;&lt;/li&gt;
           &lt;li&gt;&lt;a href=&quot;javascript:void(0)&quot; load-html=&quot;accordion.html&quot;&gt;节点右键菜单&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt; 
          &lt;/li&gt;
    &lt;/ul&gt;
&lt;/div&gt;</code></pre>

            </div>
        </div>
    
</div>

    </div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
        
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods">
                        
                            <li class="index-item method">
                                <a href="#method_toggle">toggle</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            

            

            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method_toggle" class="method item">
    <h3 class="name"><code>toggle</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/_home_zjh_git_Koala-UI_KoalaUI_WebContent_lib_Koala_SideBar.js.html#l58"><code>&#x2F;home&#x2F;zjh&#x2F;git&#x2F;Koala-UI&#x2F;KoalaUI&#x2F;WebContent&#x2F;lib&#x2F;Koala_SideBar.js:58</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>切换方法</p>

    </div>

    

    

    
</div>

                
            </div>
        

        

        

        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
